<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <father></father>
    </div>
</body>
<script src="../js/http_cdn.bootcdn.net_ajax_libs_vue_2.6.6_vue.js"></script>
<script>
    const fatherCpn = {
        data() {
            return {
                title: "我是标题"
            }
        },
        template: `
                 <div>
                    <h1>
                        {{title}}
                    </h1>
                 </div>`,
    }


    new Vue({
        el: "#app",
        components:{
            'father':fatherCpn
        }
    })
</script>

</html>
